package ru.kisa_wst.Tests;

import java.awt.Event;
import java.io.IOException;
import java.net.UnknownHostException;
import java.util.ArrayList;
import java.util.Collection;
import java.util.EventListener;

import ru.kisa_wst.parse.URLTracker;

public class UrlTrackerTets {

	public static void main(String[] args) throws UnknownHostException, IOException {
		Collection<String> list = new ArrayList<String>();
		list.add("http://kisa/");
		URLTracker tracker = new URLTracker("http://kisa/",list);
		tracker.start();
		list=tracker.getUrlCollection();
		System.out.println("finded urls");
		for(String s:list){
			System.out.println(s);
		}
		
	}


}
